<div class="remnant">
    <h4 class="title">La tarea {{ task.type }}-{{ task.pid }} iniciada el {{ task.created_at|date:'d-m-Y' }} {{ task.created_at|time:"H:i" }} ha terminado</h4>
    <div id="state" data-state="{{task.state}}">{{task.state}}</div>
</div>
ajax: {{ajax}}<br>
req: {{req}}<br>
p: {{p}}<br>
is_running: {{is_running}}<br>
<br><br>
